<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

?>

<?php
//TODO: Only generate menu if site is selected

generateMenu();
function generateMenu(){
//Check which plugins are installed
include 'plugin/base/cms/plugin/getplugins.php';

  while ($row = mysql_fetch_array($plugs)){
    $folder=$row["plugin"];
    $folder='plugin/'.$folder.'/cms/aside.php';
    include$folder;
  }
  echo'</div>';
}


?>